package com.javaee.tallybook.mapper;

import com.javaee.tallybook.pojo.Count;
import com.javaee.tallybook.pojo.Tally;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TallyMapper {
    List<Tally> selectListByName(String name);
    Integer insertList(Tally tally);
    Integer deleteList(Integer id);
    Double countIn(String type,String name);
    Double countOut(String type,String name);
    Integer updateList(Tally tally);
}
